Port bundled CPython and ordered CodeMode into Maple Agent - #897
Draft
AnthonyRonning wants to merge 4 commits into
Draft
Port bundled CPython and ordered CodeMode into Maple Agent#897AnthonyRonning wants to merge 4 commits into
AnthonyRonning wants to merge 4 commits into
Conversation
(cherry picked from commit 4bfeb7177d6103c174d332bcb0128f1f36aa3703) Adapt Python packaging and worker CI to the monorepo component layout; preserve local SDK/proxy dependencies, managed app identity and inactive Agent publication.
(cherry picked from commit e087b1af4eb0e4f77c036b9fff2f7904a2e9c4f0) Reapply under apps/maple-agent while preserving monorepo SDK integration, test portability fixes and Agent update routing.
(cherry picked from commit 1c0ade10bfcaa33e6a2f5cd88cbbb48eda45ea1c) Retain the exact published Goose scheduler patch and source hash in the Agent component dependency graph.
AnthonyRonning
added this pull request to stack #902
September 9, 2026 19:33
Preserve current SDK and CUA pins alongside the ordered Goose patch. Document external wheel installs and native execution limits, improve bounded exception diagnostics, and coalesce adjacent queued output after reproducing tiny-write truncation. Validate with the component Nix just ci gate, root flake checks, dependency graph verification, and focused native regressions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the normal permission-controlled
python_codetool to Maple Agent underapps/maple-agent/: bundled CPython, persistent task namespaces, a continuous asyncio loop, Reset/lifecycle fencing, four retained worker slots, and up to 32 permitted Python calls executed in submission order. Other tools retain concurrency.The three implementation commits from Maple GPUI Draft PR #69 retain their original provenance in this branch. The branch integrates master
ad5a389d, preserving its registry SDK policy, upstream CUA pin, and Agent fixes. Goose remains at scheduler patchbf62027fd499ad3133af35db9f0f566de6a5cc4c, with no Goose version upgrade or migration of Maple's legacy approval router.The finishing pass improves ordinary file workflows:
Python packaging and native/Nix coverage use root Agent CI. Current update discovery, managed debug identity, contributor security rules, and independent Research behavior are preserved. Agent publication remains inactive. PR #2 and the original Draft PR #69 are untouched.
Validation on macOS ARM64 at
15cf7cfa, using the pinned Nix Rust/Cargo/Clippy 1.98 environment and shared debug cache:just ci: all four Clippy configurations, warning-denied workspace debug build, 786 workspace tests passed (three existing ignored cases), 30 headless tests, 24 worker tests passed plus one Windows-only skip, and seven packaging tests.nix flake check --no-update-lock-filechecks passed. Locked Cargo metadata confirms one crates.io maple-sdk 3.6.2 and one local proxy, with no legacy SDK.maple-gpui 0.1.0 (15cf7cfa). Packaged-worker smoke, offline Unicode-path relocation, and strict ad hoc signature verification after execution passed.GitHub Actions billing remains outside the delivery gate; checks were not polled or retried.
Authenticated GUI/ACP/live-model workflows, native Windows/Linux/Intel execution, the full installed Linux Nix closure, browser-download Gatekeeper behavior, and release signing remain unverified. Final-value repr failure behavior and runtime-unavailable wording remain deferred. This remains a Draft PR.